<?php $results = $this->getVar('results'); ?>
<p><a href="stabilityTest/">&lt; Back</a></p>
<p>Name: <?php echo $results['name']; ?></p>
<p>Favorite foods:</p>
<ul>
	<?php  foreach($results['favoriteFoods'] as $food) { ?>
		<li><?php echo $food['food']; ?></li>
	<?php } ?>
</ul>
<p><a href="stabilityTest/edit/<?php echo $this->getParam('id'); ?>/">Edit this person</a></p>
<p><a href="stabilityTest/delete/<?php echo $this->getParam('id'); ?>/">Delete this person</a></p>
